{% extends "base.html" %}

{% block page_content %}
<div class="page-header">
    <div align="center">
        <h1>超级管理员</h1>
    </div>
</div>
<div class="container">
    <div class="row" style='BORDER: 1px inset;'>
      <div class="col-md-3" >
          <p class="h5 text-center text-danger" ><strong>用户名</strong></p>
          <ul class="nav flex-column " 
            style='height: 479px; BORDER: 1px inset; overflow-y :auto;'>
            {% for user in users %}
              <li class="nav-item " >
                <a class="nav-link" href="{{ url_for('super', userid=user.id) }}">
                  {% if user.isadmin %}
                    <span class="glyphicon glyphicon-user"></span>
                  {% endif %}
                  {{ user.email }}
                </a> 
              </li>
            {% endfor %}
          </ul>
      </div>
      <div class="col-md-9">
        <p class="h5 text-center text-danger"><strong>详细信息</strong></p>
        {% include "super_table.html" %}
      </div>
    </div>
</div>
{% endblock %}
